package com.yonyou.brigade.rtpnr.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author duhqh@yonyou.com
 * @since 2018-09-04
 */
@TableName("bri_rtpnrpri")
public class BriRtpnrpri extends Model<BriRtpnrpri> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 租户ID
     */
    private String tenant;
    /**
     * 组织PK
     */
    private String orgpk;
    /**
     * 中航易购私有化部署URL
     */
    private String rtpnrPriUrl;
    /**
     * TMCID
     */
    private String tmcid;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTenant() {
        return tenant;
    }

    public void setTenant(String tenant) {
        this.tenant = tenant;
    }

    public String getOrgpk() {
        return orgpk;
    }

    public void setOrgpk(String orgpk) {
        this.orgpk = orgpk;
    }

    public String getRtpnrPriUrl() {
        return rtpnrPriUrl;
    }

    public void setRtpnrPriUrl(String rtpnrPriUrl) {
        this.rtpnrPriUrl = rtpnrPriUrl;
    }

    public String getTmcid() {
        return tmcid;
    }

    public void setTmcid(String tmcid) {
        this.tmcid = tmcid;
    }

    public static final String ID = "id";

    public static final String TENANT = "tenant";

    public static final String ORGPK = "orgpk";

    public static final String RTPNRPRIURL = "rtpnrPriUrl";

    public static final String TMCID = "tmcid";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BriRtpnrpri{" +
                "id=" + id +
                ", tenant=" + tenant +
                ", orgpk=" + orgpk +
                ", rtpnrPriUrl=" + rtpnrPriUrl +
                ", tmcid=" + tmcid +
                "}";
    }
}
